import { createRouter, createWebHashHistory } from 'vue-router'
import home from '../views/home.vue'
import other from '../views/other.vue'
import otherRouters from './com/other'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    // {
    //   path: '/',
    //   name: 'home',
    //   component: home
    // },
    {
      path: '/',
      name: 'other',
      component: other,
      // redirect: '/other',
      children: otherRouters,
    }
  ]
})
export default router
